//
//  RadioBtnTableViewCell.swift
//  GreenDeal
//
//  Created by Moennig Q on 1/3/2023.
//

import UIKit
import SnapKit
class RadioBtnTableViewCell: TableViewCell {
    let radioImageView = UIImageView()
    let descripLabel = ContentLabel(R.font.interMedium(size: 15))
    override func setUpviews() {
        self.radioImageView.image = R.image.createjob_radio_unsel()
        self.contentView.addSubview(self.radioImageView)
        radioImageView.snp.makeConstraints { make in
            make.left.equalToSuperview()
            make.width.height.equalTo(16)
            make.centerY.equalToSuperview()
        }
        //
        descripLabel.numberOfLines = 0
        self.contentView.addSubview(self.descripLabel)
        descripLabel.snp.makeConstraints { make in
            make.top.equalTo(8)
            make.left.equalTo(radioImageView.snp.right).offset(12)
            make.right.equalToSuperview()
            make.height.greaterThanOrEqualTo(radioImageView)
            make.bottom.equalTo(-8)
        }
    }
}
